package com.prawn.predict.pojo;


import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 实体类
 * @author Administrator
 *
 */
public class DataRecord implements Serializable{

	private String id;//编号
	private String equipmentId;//所属设备编号
	private Integer channelNO;//通道序号,所属通道索引位置
	private String checkItemId;//检测项目ID
	private Float processedData;//数据值
	private java.util.Date acquisitionTime;//采集时间
	private java.util.Date reportingTime;//上报时间
	private Integer isWarning;//是否警告
	private Integer isRead;//是否读
	private Integer isTreatment;//是否处理
	private String warningReason;//警告原因
	private String delFlag;//



	@Override
	public String toString() {
		return "DataRecord{" +
				"id='" + id + '\'' +
				", equipmentId='" + equipmentId + '\'' +
				", channelNO=" + channelNO +
				", checkItemId='" + checkItemId + '\'' +
				", processedData=" + processedData +
				", acquisitionTime=" + acquisitionTime +
				", reportingTime=" + reportingTime +
				", isWarning=" + isWarning +
				", isRead=" + isRead +
				", isTreatment=" + isTreatment +
				", warningReason='" + warningReason + '\'' +
				", delFlag='" + delFlag + '\'' +
				'}';
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getEquipmentId() {		
		return equipmentId;
	}
	public void setEquipmentId(String equipmentId) {
		this.equipmentId = equipmentId;
	}

	public Integer getChannelNO() {		
		return channelNO;
	}
	public void setChannelNO(Integer channelNO) {
		this.channelNO = channelNO;
	}

	public String getCheckItemId() {		
		return checkItemId;
	}
	public void setCheckItemId(String checkItemId) {
		this.checkItemId = checkItemId;
	}

	public Float getProcessedData() {		
		return processedData;
	}
	public void setProcessedData(Float processedData) {
		this.processedData = processedData;
	}

	public java.util.Date getAcquisitionTime() {		
		return acquisitionTime;
	}
	public void setAcquisitionTime(java.util.Date acquisitionTime) {
		this.acquisitionTime = acquisitionTime;
	}

	public java.util.Date getReportingTime() {		
		return reportingTime;
	}
	public void setReportingTime(java.util.Date reportingTime) {
		this.reportingTime = reportingTime;
	}

	public Integer getIsWarning() {		
		return isWarning;
	}
	public void setIsWarning(Integer isWarning) {
		this.isWarning = isWarning;
	}

	public Integer getIsRead() {		
		return isRead;
	}
	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public Integer getIsTreatment() {		
		return isTreatment;
	}
	public void setIsTreatment(Integer isTreatment) {
		this.isTreatment = isTreatment;
	}

	public String getWarningReason() {		
		return warningReason;
	}
	public void setWarningReason(String warningReason) {
		this.warningReason = warningReason;
	}

	public String getDelFlag() {		
		return delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}


	
}
